import { createStore, applyMiddleware } from "redux";
import thunk from "redux-thunk"; // 异步中间件
import reducer from "./reducer"; // reducer
let store = createStore(reducer, applyMiddleware(thunk));
export default store;
